<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>输入框</title>
	<style>
		/* 样式代码，将label和input都设置为inline-block */
		label, input {
			display: inline-block;
		}
	</style>
</head>
<body>
<form>
	<label for="input1">输入框1：</label>
	<input type="text" id="input1" name="input1">
	<label for="input2">输入框2：</label>
	<input type="text" id="input2" name="input2">
	<label for="input3">输入框3：</label>
	<input type="text" id="input3" name="input3">
	<label for="input4">输入框4：</label>
	<input type="text" id="input4" name="input4">
	<label for="input5">输入框5：</label>
	<input type="text" id="input5" name="input5">
</form>
</body>
</html>
